import { createApp } from 'vue'
import './style.css'
import 'reset.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import {createPinia} from 'pinia'
import piniaPlugin from 'pinia-plugin-persistedstate'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import Cloud from "leancloud-storage";
import 'animate.css';
const pinia=createPinia()
pinia.use(piniaPlugin)
Cloud.init({
  appId: "TRsB5LdkcFlIMkDtIKNvMrkJ-gzGzoHsz",
  appKey: "Ouk0qbrEJ49pJ6gw8xJ5euFi",
  serverURL: "https://trsb5ldk.lc-cn-n1-shared.com",
});

const app=createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
app.use(pinia)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
